import Mock from 'mockjs';
//JSON数据未对外暴露，但可以引入
//webpack默认对外暴露的：图片、JSON数据格式
import banner from './banner.json';
import floor from './floor.json';

Mock.mock('/mock/banner',{code: 200,data: banner});  //模拟首页大轮播图的数据
Mock.mock('/mock/floor',{code: 200,data: floor});